#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL
{
    /// <summary> 
	/// ! \test money arithmetic is tested with and without currency conversions.
	/// </summary>
    [Guid ("9A5B0CC2-3CB7-4575-BA46-831A18BF9E75"),ComVisible(true)]
	public interface IMoney 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.ICurrency Currency {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.IMoney Rounded {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Value {get;}
    }   

    /// <summary> 
	/// ! \test money arithmetic is tested with and without currency conversions. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IMoney_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IMoney Create (Double value, Cephei.QL.ICurrency currency);
        /// <summary> 
		/// 
		/// </summary>
	    IMoney Create (Cephei.QL.ICurrency currency, Double value);
        /// <summary> 
		/// 
		/// </summary>
	    IMoney Create ();
    }
}

